Registry Guide for Windows Registry Guide for Windows
Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Allow UNC Paths at the Command Prompt (Windows NT/2000/XP)
Category: Home > Windows > Accessories > Command Processor

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

The Command Processor normally checks and disallows UNC names from being used for the current directory in the Command Prompt as they may cause problems with launched child processes. This tweak can be used to allow UNC paths and remove the warning message.

Open your registry and find the key below.

Create a new DWORD value, or modify the existing value called 'DisableUNCCheck' using the settings below.

Exit your registry, you may need to restart or log out of Windows for the change to take effect.

Note: If you enable this feature and start a Console that has a current directory of an UNC name, start applications from that Console, and then close the Console, it could cause problems in the applications started from that Console.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|DisableUNCCheckREG_DWORD0x00000001 (1)|
-
|HKEY_CURRENT_USER\Software\Microsoft\Command Processor|
-

Settings:
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
Name: DisableUNCCheck
Type: REG_DWORD (DWORD Value)
Value: (0 = default, 1 = allow UNC)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: January 8, 2003

 Return to Index Copyright © 1998-2003. All Rights Reserved.  License